<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class UrlRedirect extends Model
{
    protected $autoWriteTimestamp = 'datetime';
    
    // 设置当前模型对应的完整数据表名称
    protected $table = 'url_redirect';

    // 设置字段信息
    protected $schema = [
        'req_id'        => 'string',
        'url'           => 'text',
        'create_time'   => 'datetime'
    ];
}
